<template>
  <div class = "team-header flex-static">
    <a class ="btn-tool" @click="toggle">
      <icon i-name="home" ></icon>
    </a>
    <span class="flex-fill text-overflow">My-Items</span>
    <div v-show="show">你好啊.</div>
  </div>
</template>
<style>

</style>
<script>
    import Icon from './Icon.vue'
    export default{
        data(){
            return{
                show:false
            }
        },
        components:{
          Icon,
        },
        computed:{
        },
       methods:{
          toggle(){
          this.show = !this.show
          }
       }
    }
</script>
